<?php

/**
 * Atakan KOC Framework
 * -----------------------------------------------
 * Copyright (C) 2009 Atakan KOC
 * PHP versions 4 and 5
 * -----------------------------------------------
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * http://www.gnu.org/copyleft/gpl.html
 */

error_reporting(E_ALL & ~E_NOTICE);
define('DIR', (($getcwd = getcwd()) ? $getcwd : '.'));
define('AKF_AREA', 'Forum');
define('AKF_FILE_VERSION', '100');
define('TIMESTART', microtime());
define('TIMENOW', time());

require_once(DIR . '/includes/config.php');
require_once(DIR . '/includes/class_database.php');
require_once(DIR . '/includes/core.php');
$site = new Site_Init();
$db = new SQL_DataBase($config['servername'],$config['dbname'],$config['username'],$config['password'],$config['port'],$config['mysql_type'],$config['technicalemail']);
$site->db =& $db; 
?>
